execute if entity @e[type=item,nbt={Item:{tag:{id:"advm_slayer:loot_zombie"}}}] as @e[type=item,nbt={Item:{tag:{id:"advm_slayer:loot_zombie"}}}] at @s run function advm_slayer:undead/loot